Cornell University's law school has been given $25 million by an anonymous donor for a variety of uses, including scholarships.