Resets the accumulated state, allowing this function to be reused for a new operation without creating a new instance.