As a side note some metals will only become temporary magnets.
certain metals are just more easily magnetised/demagnetised than others.
for example, iron is more easily magnetised steel, but is also more easily demagnetised than steel.
thus iron is more likely to be a temporary magnet, and steel is more likely to be a permanent magnet.