In many cases those remain recoverable using the -F option when you dump the data (cloud download not required)
The -F option (or any equivalent) was removed in fasterq-dump, and fastq-dump is deprecated.
You will have to go through the trouble of identifying the kind of flowcell the data is from before you can decide to tackle the optical duplicates for public data.
Right, the intent of making this post is to discuss how much bioinformaticians should care about specifically optical duplicates. Technical details of sequencing runs, such as specific characteristics of duplicates, aren't always rigorously taught.
One thing I'm further curious about based on your reply, is because we distinguish PCR and optical duplicates, are the two meaningfully different in how they present in terms of their sequences? ie. if the reads are identical, then a script (such as clumpify.sh) would be able to identify/remove both sets in one pass. Unfortunately in cases where one would want to _only_ remove optical duplicates, this wouldn't work, but in e.g. WGS this would be fine (and I'd expect standard dupmarking tools to remove the optical dups anyways, if this were true).