I'm wondering if anyone else ran into issues with cloning when moving to vSphere 6, specifically as it relates to Cspecs's and OS Customization spec's.
We had the following workaround in place working successfully in vSphere 5.1:
When attempting to clone within a vSphere 6.0 instance, the error appears to be occurring in the middle section in the screenshot above when it tries to duplicate: $csmSpecMgr.DuplicateCustomizationSpec("MyCustSpec","MyCustSpec-copy")
And as expected, the 3rd section of the chunk of code above will error out as well - being that it is looking for that duplicate spec that does not exist.
Best,
Alex