A metal-polymer coating can heal its own scratches by liquefying when exposed to UV and then resolidifying. Karen Hopkin reports