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

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.