Gerald Ford did it for Nixon. Just pardon the person for any actions prior to a certain date is one way to do it.
The new DOJ will get a brand new run at the Clintons after the pardon—they’re not shutting down the RICO Foundation and are begging for donations.