Apache.NMS.ActiveMQ.Commands.BaseCommand.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : Object
return Object
        public override Object Clone()
        {
            // Since we are a derived class use the base's Clone()
            // to perform the shallow copy. Since it is shallow it
            // will include our derived class. Since we are derived,
            // this method is an override.
            BaseCommand o = (BaseCommand) base.Clone();

            return o;
        }