internal SLFieldGroup Clone()
        {
            var fg = new SLFieldGroup();

            fg.ParentId = ParentId;
            fg.Base     = Base;

            fg.HasRangeProperties = HasRangeProperties;
            fg.RangeProperties    = RangeProperties.Clone();

            fg.DiscreteProperties = new List <uint>();
            foreach (var i in DiscreteProperties)
            {
                fg.DiscreteProperties.Add(i);
            }

            fg.HasGroupItems = HasGroupItems;
            fg.GroupItems    = GroupItems.Clone();

            return(fg);
        }