Patch up ScriptEntryData.clone()