I've done this unintentionally, but ShaDoOoW appears to have a controlled method:
There is a
Homebrew Function thread which he added a remove effect icon function to.
Although I haven't tested his work, I suspect that it does what it says due to my own struggles to avoid hiding effects by accident.