How do plants produce seeds through apomixis?Explain with help of an example

In apomixis or agamosperm,seeds are formed without the fusion of gametes. Diploid cells of nucellus develop into an embryo, giving diploid seeds with a genetic constitution identical to the parent. Apornixis takes place in orange and onion.