The large amount of genetic variation observed in prokaryotes arise due to:
Prokaryotes have extremely short generation times and large populations and also that they can exchange DNA with many types of prokaryotes by way of horizontal gene transfer; the short generation times and large population sizes in most prokaryotic species, coupled with their ability to exchange genes, helps to increase genetic variability beyond what we would expect in asexually reproducing organisms.