The correct option is C Coating it with a layer of oil
On coating a magnet with a layer of oil, the magnet does not lose its magnetism. Ferromagnetic materials lose their magnetism if heated above a point known as the Curie temperature. Similarly, passing current through it or repeatedly hitting it with a hammer, can lead to loss of magnetism.