Sequences with the potential to form stem-and-loop structures are associated with coding-region duplications in animal mitochondrial DNA.