Disposing of a gadget? Remember to wipe this

What settings do you need to clear before getting rid of a gadget?