FKismetEditorUtilities::StripExternalComponents

Run over the components in the blueprint, and then remove any that fall outside this blueprint's scope (e.g. components brought over after reparenting from another class)