private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent)
 {
     Articy.Project_Of_Death.Templates.template_item_variationTemplate newClone = ((Articy.Project_Of_Death.Templates.template_item_variationTemplate)(aClone));
     if ((item_accessory_variation != null))
     {
         newClone.item_accessory_variation = ((Articy.Project_Of_Death.Features.item_accessory_variationFeature)(item_accessory_variation.CloneObject(newClone, aFirstClassParent)));
     }
     newClone.OwnerId = OwnerId;
 }
 public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent)
 {
     Articy.Project_Of_Death.Templates.template_item_variationTemplate clone = new Articy.Project_Of_Death.Templates.template_item_variationTemplate();
     CloneProperties(clone, aFirstClassParent);
     return(clone);
 }