src/vs/editor/standalone/common/monarch/monarchLexer.ts/EmbeddedModeData/clone
class EmbeddedModeData:	public clone(): EmbeddedModeData {
		let stateClone = this.state.clone();
		// save an object
		if (stateClone === this.state) {
			return this;
		}
		return new EmbeddedModeData(this.modeId, this.state);
	}