There are plenty of people who donate money like this anonymously. Perhaps not quite this amount, but for example my kid's Waldorf school recently got a large anonymous donation of several millions of dollars from "a member of the community." Bloomberg is definitely looking to get something back here, though. Why else would he brag about this in the NYT?
It's hard to donate $1.8billion anonymously, especially to your alma mater (I imagine there are only so many Hopkins alumni capable of that kind of donation and they're all on speed dial on the school's chief fundraiser's phone)