A violet has already pollinated itself before it has opened, so it is almost always pollinated by its own pollen. The stigma of a tomatoflower grows through a sheath of anthers, resulting in almost certain self-pollination.
Breeders then "fix" that trait, making the new variety genetically identical through many generations of self-pollination.