RunConfiguration () { JarApplicationConfiguration clone = (JarApplicationConfiguration)super.clone(); clone.myEnvs = new LinkedHashMap<>(myEnvs); clone.myConfigurationModule = new JavaRunConfigurationModule(getProject(), true); clone.myConfigurationModule.setModule(myConfigurationModule.getModule()); clone.myBean = XmlSerializerUtil.createCopy(myBean); clone.myInputRedirectOptions = myInputRedirectOptions.copy(); return clone; }