CRISPR
Family of DNA sequences in bacteria, contain snippets of DNA from viruses that have attacked the bacterium, are used by the bacterium to detect and destroy DNA from further attacks by similar viruses
more on Wikipedia