The sketch won't clear Serial Monitor automatically, but you can clear the Serial Monitor at any time by clicking the icon at the right side of the Serial Monitor toolbar that looks like an X overlayed over some lines ("Clear Output").
The sketch won't clear Serial Monitor automatically, but you can clear the Serial Monitor at any time by clicking the icon at the right side of the Serial Monitor toolbar that looks like an X overlayed over some lines ("Clear Output").