/// <summary>
        /// Returns a deep copy of the <see cref="FormObject"/>.
        /// </summary>
        /// <returns></returns>
        public new FormObject Clone()
        {
            var formObject = (FormObject)MemberwiseClone();

            formObject.CurrentRow = CurrentRow?.Clone();
            formObject.OtherRows  = new List <RowObject>();
            foreach (var row in OtherRows)
            {
                formObject.OtherRows.Add(row.Clone());
            }
            return(formObject);
        }