/** * Create a script from another script object * * @param script2 script object source * @throws InvalidScriptException if the creation fails. */ public Script(Script<?> script2) throws InvalidScriptException { this( script2.getScript(), script2.scriptEngineLookup, script2.getParameters(), script2.getScriptName()); }