New shape-shifting metals discovered