DuplicateObject

Convenience template for duplicating an object