If it's duplication, it's the same abstraction by definition. The fundamental unit of programming is intent, not code.