Enhancing `extend` to also copy over `defineProperty` info