code: func (c *RetryConfig) Copy() *RetryConfig {
  	if c == nil {
  		return nil
  	}
  
  	var o RetryConfig
  
  	o.Attempts = c.Attempts
  
  	o.Backoff = c.Backoff
  
  	o.MaxBackoff = c.MaxBackoff
  
  	o.Enabled = c.Enabled
  
  	return &o
  }
docs: // Copy returns a deep copy of this configuration.