Rare earth alloys