The first alternative is correct (A).
Charles Dickens makes an analogy to the factories in order to explain the teachers' uniformity of thought. It is plausible to infer that the products of a factory are the same, unless there is some manufacturing defect, but in general, they are the same. The passage associates teachers as if they were the products of a factory. That is, they are the same, have the same principles and think evenly.