A method for removing conductive residue from a layer on a semiconductor substrate
by exposing the substrate to a gas comprising a fluorine containing gas and a hydrogen
containing gas. In one embodiment, the gas is excited to form a plasma that removes
the conductive residue during fabrication of a magneto-resistive random access
memory (MRAM) device.