Duplication Isn’t Always an Anti-Pattern