Neural block

A neural block was Time Lord technology that wiped memories. The Twelfth Doctor tried to use a human compatible block on Clara Oswald to wipe Clara's memory of the Doctor, but Clara reversed the polarity and instead, the Doctor forgot most of his memories of Clara. (TV: Hell Bent)