code: func (c *ObjectPoolConfiguration) NewObjectPoolOptions(
  	instrumentOpts instrument.Options,
  ) ObjectPoolOptions {
  	size := defaultSize
  	if c.Size != 0 {
  		size = c.Size
  	}
  	return NewObjectPoolOptions().
  		SetInstrumentOptions(instrumentOpts).
  		SetSize(size).
  		SetRefillLowWatermark(c.Watermark.RefillLowWatermark).
  		SetRefillHighWatermark(c.Watermark.RefillHighWatermark)
  }
docs: // NewObjectPoolOptions creates a new set of object pool options.