/// <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 IntegralImage(width, height);

            integralImage.CopyTo(clone.integralImage, 0);
            return(clone);
        }