Creates a finalization registry with an associated cleanup callback
The callback to call after an object in the registry has been reclaimed.
Readonly
Creates a finalization registry with an associated cleanup callback