private void CloneProperties(object aClone)
 {
     Articy.Eai.Templates.ModelTemplateTemplate newClone = ((Articy.Eai.Templates.ModelTemplateTemplate)(aClone));
     if ((dialogue != null))
     {
         newClone.dialogue = ((Articy.Eai.Features.dialogueFeature)(dialogue.CloneObject()));
     }
 }
 public object CloneObject()
 {
     Articy.Eai.Templates.ModelTemplateTemplate clone = new Articy.Eai.Templates.ModelTemplateTemplate();
     CloneProperties(clone);
     return(clone);
 }