Alloys obtained by cathodic reduction of all their ions