src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts/TerminalEditorInput/copy
class TerminalEditorInput:	override copy(): EditorInput {
		const instance = this._terminalInstanceService.createInstance(this._copyLaunchConfig || {}, TerminalLocation.Editor);
		instance.focusWhenReady();
		this._copyLaunchConfig = undefined;
		return this._instantiationService.createInstance(TerminalEditorInput, instance.resource, instance);
	}