src/vs/editor/browser/config/editorConfiguration.ts/deepCloneAndMigrateOptions
function deepCloneAndMigrateOptions(_options: Readonly<IEditorOptions>): IEditorOptions {
	const options = objects.deepClone(_options);
	migrateOptions(options);
	return options;
}