Cathodic corrosion as a facile and effective method to prepare clean metal alloy nanoparticles.