Like every other business these days, law firms are trying to figure out how to take advantage of the new tax law.

Even if there’s still plenty of uncertainty, “the gains are just too large” for firms not to explore tax-saving tricks, says New York University tax professor Daniel Shaviro. “Anyone who can afford the legal advice and has enough money at stake would be insane not to give [them] very serious thought,” he adds.