MavenRunnerSettings () { try { final MavenRunnerSettings clone = (MavenRunnerSettings)super.clone(); clone.mavenProperties = cloneMap(mavenProperties); clone.myListeners = new DisposableWrapperList<>(); clone.environmentProperties = new HashMap<>(environmentProperties); return clone; } catch (CloneNotSupportedException e) { throw new Error(e); } }