/// <summary>
 /// Copies this instance.
 /// </summary>
 public void Copy(PunchingTool source)
 {
     this.X   = source.X;
     this.Y   = source.Y;
     this.gap = source.Gap;
     // this.name = source.Name;
     this.areaPercentage = source.AreaPercentage;
     this.DisplayName    = source.DisplayName;
     this.ClusterTool    = source.ClusterTool;
 }
        /// <summary>
        /// Copies this instance.
        /// </summary>
        public PunchingTool DeepCopy()
        {
            PunchingTool tool = (PunchingTool)this.MemberwiseClone();

            tool.x              = this.x;
            tool.y              = this.Y;
            tool.gap            = this.gap;
            tool.name           = this.name;
            tool.areaPercentage = this.areaPercentage;
            tool.displayName    = this.DisplayName;
            tool.ClusterTool    = this.ClusterTool.DeepCopy();

            return(tool);
        }