I don't know if they've attempted to claw back any NSF grants yet, but they have done this with EPA grants. There was no lawsuit, they just ordered banks to freeze the funds and the banks complied: https://www.eenews.net/articles/epa-green-bank-recipients-lo...
Hmm. That'd be pretty nasty to be on the receiving end of (and may well have been an outrageous abuse of executive power), but still, an administrative freeze is temporary and is not in itself a clawback. Even if it was a certainty this would happen to PSF, it would still be worth it for $1.5 million!