How to recreate a CDO on demand?

I’m working on a plugin and i need to recreate the CDO of a BlueprintGeneratedClass. How can i do this? (I dont know yet if i have to do this for the SKEL’s too, because the editor breaks atm)

Have you known how to solve this? I want to know too