For an experimental helicopter that must fly around, Ingenuity's mass budget is extremely tight. I don't know how they'd put something on the helicopter, and I imagine it's considered far too risky to have the rover have some way of cleaning the helicopter.
Or just hope the vehicle's flight envelope is wider than the "dust's ability to stick to the panel" envelope. You're gonna lose the vehicle either way so why not try it.
I think part of the problem is that the kind of people who have a lot of experience solving these kinds of problems don't really have career paths that intersect with NASA so the engineers spec'ing out the vehicle don't really know with good enough levels of certainty when they can make cheap minor tweaks to the design of the vehicle that will produce some secondary positive result. And you can't go just call up the professional specialists and ask for their input because the processes involved are too bloated and would cost too much money to invoke over small secondary features so you really need that kind of expertise in house or not at all.
So, layers of Mylar and a way to peel back or roll away.
I imagine there are people on this planet that could spend an entire day transfixing you with a conversation on the physical phenomena of dust collecting on solar panels on Mars. Why it happens, what's unique about the environment, what isn't. What's been tried, what will be tried next, why the current configuration was chosen vs others that might have better or worse results, what breakthroughs in materials science might make the whole thing go away, etc etc etc.
Aircraft on Mars are obviously always going to be very weight constrained. I wonder if some of the microwave power transfer tech could be used to reduce the cycle time and help in situations like this. Maybe when we can start getting multi kW generators and/or fixed solar arrays on the planet it will start to make more sense.
All of the rovers start with a fairly small mission and it gets extended as it provides good science and congress/NASA finds money to continue to staff the support teams and get time on the Deep Space Network.
Rotorcraft are a special case though, because they come with powerful fans attached. Maybe the next rotorcraft will have a way to direct its prop wash over its solar panels.
IIRC, this dust-on-solar-panels problem has been a serious threat to all the Mars rover missions. I wouldn't make sense on a helicopter, but it seems it would be smart to include some kind of emergency-use brush to clean it from the panels as a last-ditch solution on a rover. Especially considering how greatly-"extended" missions seem de rigueur for NASA.