What is the purpose of erasing in banzai() in ArduinoCore-samd

You said it was introduced in a commit.

Just pointed out it was always there.
As for the reason I think you might get a better explanation by following the trail back to the source thats all.