Yes. It's based on the set changes, so something like Psych up or baton passing would also double stats for you.
However, if you had a situation where you used the salac berry, and then you gained the ability simple through something like simple beam, you wouldn't gain double stats.