DuplicateObject_Internal

Convenience function for duplicating an object