Add duplicate SceneObject function.