The technique echoes scenes from Eternal Sunshine of the Spotless Mind, where the characters played by Jim Carrey and Kate Winslet both undergo treatment to delete each other from their memories.