code: func (c Configuration) NewOptions(scope tally.Scope) Options {
  	opts := NewOptions().SetMetricsScope(scope)
  	if c.InitialBackoff != 0 {
  		opts = opts.SetInitialBackoff(c.InitialBackoff)
  	}
  	if c.BackoffFactor != 0.0 {
  		opts = opts.SetBackoffFactor(c.BackoffFactor)
  	}
  	if c.MaxBackoff != 0 {
  		opts = opts.SetMaxBackoff(c.MaxBackoff)
  	}
  	if c.MaxRetries != 0 {
  		opts = opts.SetMaxRetries(c.MaxRetries)
  	}
  	if c.Forever != nil {
  		opts = opts.SetForever(*c.Forever)
  	}
  	if c.Jitter != nil {
  		opts = opts.SetJitter(*c.Jitter)
  	}
  
  	return opts
  }
docs: // NewOptions creates a new retry options based on the configuration.