Deprecate ConstantStubber constant

Counterpart to #608, deprecates `ConstantStubber` on 2.99