Create a deep clone of this StageOptions.
Source
StageOptions clone() { var options = new StageOptions(); options.renderEngine = this.renderEngine; options.inputEventMode = this.inputEventMode; options.stageRenderMode = this.stageRenderMode; options.stageScaleMode = this.stageScaleMode; options.stageAlign = this.stageAlign; options.backgroundColor = this.backgroundColor; options.transparent = this.transparent; options.antialias = this.antialias; options.maxPixelRatio = this.maxPixelRatio; options.preventDefaultOnTouch = this.preventDefaultOnTouch; options.preventDefaultOnMouse = this.preventDefaultOnMouse; options.preventDefaultOnWheel = this.preventDefaultOnWheel; options.preventDefaultOnKeyboard = this.preventDefaultOnKeyboard; return options; }