func (grp GroupedPortRanges) Clone() GroupedPortRanges {
	if len(grp) == 0 {
		return nil
	}

	grpCopy := make(GroupedPortRanges, len(grp))
	for k, v := range grp {
		grpCopy[k] = append([]PortRange(nil), v...)
	}
	return grpCopy
}
// Clone returns a copy of this port range grouping.
Clone returns a copy of this port range grouping.
// Clone returns a copy of this port range grouping .
func (grp GroupedPortRanges) Clone() GroupedPortRanges {
	if len(grp) == 0 {
		return nil
	}
	grpCopy := make(GroupedPortRanges, len(grp))
	for k, v := range grp {
		grpCopy[k] = append([]PortRange(nil), v...)
	}
	return grpCopy
}
func ( grp GroupedPortRanges ) Clone ( ) GroupedPortRanges { if len ( grp ) == 0 { return nil } grpCopy := make ( GroupedPortRanges , len ( grp ) ) for k , v := range grp { grpCopy [ k ] = append ( [ ] PortRange ( nil ) , v ... ) } return grpCopy }
Clone returns a copy of this port range grouping.
Clone returns a copy of this port range grouping .