Aspose::Words::Markup::CustomPart::Clone method. Makes a "deep enough" copy of the object. Does not duplicate the bytes of the Data value in C++.... auto doc = System :: MakeObject < Aspose...package.docx" ); ASSERT_EQ ( 2 , doc -> get_PackageCustomParts ()...