Duplicating object while keeping cached (cloth) data

Is there any way to duplicate an object (in python) but still keep the baked cloth data?

Re-baking during the script is an option but will slow it down considerably, so I’d rather not. Is there any way to do it?

Thanks :slight_smile:

I ended up solving it by using to_mesh().