Just Add Magic
Just Add Beginnings
S2 E21:
In order to protect themselves, the trio cooks a spell to help them remember magic forever; the downside is that they forget their friendship and ever meeting.