code: func WithFinalizer(finalizer Finalizer) options.Opt {
  	return func(p options.Params) {
  		logger.Debug("Checking finalizerSetter")
  		if setter, ok := p.(finalizerSetter); ok {
  			setter.SetFinalizer(finalizer)
  		}
  	}
  }
docs: // WithFinalizer sets a finalizer function that is called when the
  // reference is closed or if it expires