public Operation Clone() { var copy = ShallowClone(); if (LeftOperand != null) { copy.LeftOperand = LeftOperand.Clone(); } if (RightOperand != null) { copy.RightOperand = RightOperand.Clone(); } return(copy); }