private void CloneProperties(object aClone)
 {
     Articy.ManiacManfred.Features.DialogChoiceFeature newClone = ((Articy.ManiacManfred.Features.DialogChoiceFeature)(aClone));
     if ((mRequiredItem != null))
     {
         newClone.mRequiredItem = ((ArticyValueArticyObject)(mRequiredItem.CloneObject()));
     }
     if ((mLocationChange != null))
     {
         newClone.mLocationChange = ((ArticyValueArticyObject)(mLocationChange.CloneObject()));
     }
     if ((MoraleChange != null))
     {
         newClone.MoraleChange = ((ArticyScriptInstruction)(MoraleChange.CloneObject()));
     }
 }
 public object CloneObject()
 {
     Articy.ManiacManfred.Features.DialogChoiceFeature clone = new Articy.ManiacManfred.Features.DialogChoiceFeature();
     CloneProperties(clone);
     return(clone);
 }