Implement sameConstructor