<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="11.0.0-preview.7.26381.103" />

Microsoft.Extensions.ObjectPool.IResettable

public interface IResettable
Defines a method to reset an object to its initial state.
bool TryReset()

Reset the object to a neutral state, semantically similar to when the object was first constructed.