The task to generate a script for an existing SQL Agent Job has been around for a very long time. And yet, even now, the generated script needs to be edited to eliminate the @schedule_uid... line (and the preceding line's ending ",". Otherwise it may try and use an existing schedule.
There are numerous articles discussing this issue, and all just end with "delete the line". There are even several posts on how to search for and delete the offending lines. Again, this is exacerbated by the issue of having to also delete the "," that ends the preceding line.
And yet, no request that I have found asks Microsoft to either allow this parameter to be selected (or deselected) in the scripting options, or better yet, just eliminated altogether.