public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent)
        {
            IncomingConnection clone = new IncomingConnection();

            CloneProperties(clone, aFirstClassParent);
            return(clone);
        }
        private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent)
        {
            IncomingConnection newClone = ((IncomingConnection)(aClone));

            newClone.Label     = Unresolved_Label;
            newClone.Color     = Color;
            newClone.SourcePin = SourcePin;
            if ((mSource != null))
            {
                newClone.mSource = ((ArticyValueArticyObject)(mSource.CloneObject(newClone, aFirstClassParent)));
            }
        }