code: func (c *DedupConfig) Finalize() {
  	if c.Enabled == nil {
  		c.Enabled = Bool(false ||
  			TimeDurationPresent(c.MaxStale) ||
  			StringPresent(c.Prefix) ||
  			TimeDurationPresent(c.TTL))
  	}
  
  	if c.MaxStale == nil {
  		c.MaxStale = TimeDuration(DefaultDedupMaxStale)
  	}
  
  	if c.Prefix == nil {
  		c.Prefix = String(DefaultDedupPrefix)
  	}
  
  	if c.TTL == nil {
  		c.TTL = TimeDuration(DefaultDedupTTL)
  	}
  }
docs: // Finalize ensures there no nil pointers.