fixes #16505. Document, test, and add mixin parameter to declare.createSubclass. !strict.