Why did Mendel prevent his plants from self-pollinating?

to control the crossing of the traits
in order to insure that each plant's offspring would remain identical to the parents
to maintain a pure strain
so they could not produce offspring