/// <summary> /// Clones this instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> public XlsxMiniChartAxesOptions Clone() { var cloned = (XlsxMiniChartAxesOptions)MemberwiseClone(); if (Horizontal != null) { cloned.Horizontal = Horizontal.Clone(); } if (Vertical != null) { cloned.Vertical = Vertical.Clone(); } return(cloned); }