recycle

fun recycle(instance: T)

Resets instance and stores it for a later borrow.

When the pool already holds capacity instances, instance is dropped and the reset callback is not invoked.