duration.go
func (d *Duration) DeepCopy() *Duration {
	if d == nil {
		return nil
	}
	out := new(Duration)
	d.DeepCopyInto(out)
	return out
}
func (d *Duration) DeepCopy() *Duration {
	if d == nil {
		return nil
	}
	out := new(Duration)
	d.DeepCopyInto(out)
	return out
}
func ( d * Duration ) DeepCopy ( ) * Duration { if d == nil { return nil } out := new ( Duration ) d . DeepCopyInto ( out ) return out }
// DeepCopy copies the receiver into a new Duration.
DeepCopy copies the receiver into a new Duration .