Deprecate ConstantStubber constant

Counterpart to #608, deprecates `ConstantStubber` on 2.99, part of #597