Bug 953373 - Use NewObjectWithType when cloning regexps. r=bhackett