In vivo duplication of genetic elements by the formation of stem-loop DNA without an RNA intermediate.