Since refs are now generated in a single pass over the final DOM, there is no reason to maintain state in the globally-shared Cite objects. It should be possible to pass state as a param to the associated functions which will basically make the reset functions no-ops.
This would have prevented the id reuse issues reported in T63165 and T93715.