function clearCache(type) {
    type._fieldsById = type._fieldsArray = type._oneofsArray = type._ctor = null;
    delete type.encode;
    delete type.decode;
    delete type.verify;
    return type;
}
The registered constructor, if any registered, otherwise a generic constructor.
@name Type#ctor
@type {Class}