Zachary Zatara
Zachary Zatara is a fictional character in the DC Universe. Zachary is a descendant of the Homo Magi just like his cousin Zatanna and uncle John Zatara. He first appeared in "Teen Titans (vol. 3)" # 34, and was created by Geoff Johns and Tony Daniel.
Identity Crisis (DC Comics)
Further discussion reveals that a mind wipe was also done on at least one other occasion: when the Secret Society of Super Villains (the Wizard, Floronic Man, Star Sapphire, Reverse-Flash, and Blockbuster) captures JLA members Superman, Batman, Flash, Green Lantern (Hal Jordan), Zatanna and Black Canary (Wonder Woman in the pre-Crisis continuity) and switched bodies with the heroes, allowing the villains to learn their secret identities by casually removing the heroes' masks. Although the heroes defeated the villains, Zatanna once again erased the villains' memories of the incident and their knowledge of the secret identities. Green Arrow's words also imply that they have done this on other occasions when their secret identities were threatened by magic or other means.