You are an idiot. When I walk into my local Safeway, I don't consent to a strip search, even if I have nothing to worry about because I am, after all, innocent.
If you were accused of shoplifting? A government agency will be contacted and conduct any search of your person looking for contraband (stolen goods).
The difference is that you might be able to sue the grocery store if you are detained and no contraband is found.