Model Clone (Python Code)

After converting the segmentation node to the model, I want to clone the model.
image

shNode = slicer.mrmlScene.GetSubjectHierarchyNode()
ModelsID = shNode.CreateFolderItem(shNode.GetSceneItemID(), "Models")
slicer.modules.segmentations.logic().ExportAllSegmentsToModels(segmentationNode, ModelsID)

shNode = slicer.vtkMRMLSubjectHierarchyNode.GetSubjectHierarchyNode(slicer.mrmlScene)
nodeToClone = slicer.mrmlScene.GetFirstNodeByClass('vtkMRMLModelNode')
itemIDToClone = shNode.GetItemByDataNode(nodeToClone)
clonedItemID = slicer.modules.subjecthierarchy.logic().CloneSubjectHierarchyItem(shNode, itemIDToClone)
clonedNode = shNode.GetItemDataNode(clonedItemID)

The error: