Attached a patch which adds a clear-scrollback command to eshell. If it looks good, I'll push the patch to master with the relevant info in etc/NEWS.