Schematic shows self-quenched platinum deposition on a gold surface. Under a high driving voltage, platinum in solution (bound to four chloride atoms) can shed the chloride and bind to a location on the gold. Hydrogen rapidly adsorbs on the platinum, ensuring that the platinum forms an even surface a single atom thick.
Image Credit: Gokcen/NIST
Click image for more info.