System.MarshalByRefObject.MemberwiseClone C# (CSharp) Method

MemberwiseClone() protected method

protected MemberwiseClone ( bool cloneIdentity ) : MarshalByRefObject
cloneIdentity bool
return MarshalByRefObject
        protected MarshalByRefObject MemberwiseClone(bool cloneIdentity)
        {
            MarshalByRefObject mbr = (MarshalByRefObject)base.MemberwiseClone();
            // set the identity on the cloned object to null
            if (!cloneIdentity)
                mbr.Identity = null;
            return mbr;
        }