code: func (w *wrapper) SetOptions(opts OptionsConfiguration) (Waiter, error) {
  	w.mut.Lock()
  	defer w.mut.Unlock()
  	newCfg := w.cfg.Copy()
  	newCfg.Options = opts.Copy()
  	return w.replaceLocked(newCfg)
  }
docs: // SetOptions replaces the current options configuration object.