FComponentEditorUtils::DuplicateComponent

Duplicates a component instance and takes care of attachment and registration.