`ResourceLoader::addScriptCode` already calls an array_unique on the added array. https://github.com/RhubarbPHP/Module.Leaf/blob/9a35470b2a4d24ce54cce617bb034d074263ab99/src/Views/View.php#L460