codon armonization tend to reduce the number of rare codon and remove the clusters expecially for more critical codons (eg arginines codon in E.coli) but tends to armonize the number of rare codon with the one normal codon usage present in the expression organisms (so for example in the specific case of arginine, for long proteins contaning many arginines some of the less frequent codon are also used (eg if the protein contain 30 arginines, to represent the real codon usage of the expression host, at least 2 CGG codon and 1 AGA codon will be used too)
Of course while the clone desin gby first approach is simple while the second is more complex in absence of an algoritm that facilitate it.
Basically, you translate your open reading frame into a protein sequence and then translate back into cDNA using high frequency codons. There are automated tools for this on the web, where you may define constraints like the restriction sites you need for cloning and manipulating your sequence, adding tags and stuff like Shine-Delgarno resp. Kozak Consensus elements, etc. . Then have your new cDNA synthesized. It never has been this easy.
geneart.com used to have such a nice tool on their website.