There is something called the Migratory Bird Act that you need to know about - only people licensed to do so (if I understand correctly) can legally keep migratory birds, and I believe Mallards are in that category.
So, you may need to find a waterfowl rehabber in your area...