/// <summary> /// Create a copy of <see cref="OrderPairReplaceMessage"/>. /// </summary> /// <returns>Copy.</returns> public override Message Clone() { var clone = new OrderPairReplaceMessage { Message1 = Message1?.TypedClone(), Message2 = Message2?.TypedClone(), }; CopyTo(clone); return(clone); }