/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// /// <returns> /// A new object that is a copy of this instance. /// </returns> /// public object Clone() { var clone = new FastRetinaKeypointDescriptor(); clone.Extended = Extended; clone.Image = Image.Clone(); clone.Integral = (IntegralImage)Integral.Clone(); clone.IsOrientationNormal = IsOrientationNormal; clone.IsScaleNormal = IsScaleNormal; clone.pattern = (FastRetinaKeypointPattern)pattern.Clone(); return(clone); }