The wording, Slakoth on the attack is simply refers as "THIS POKEMON'.
So, if Slaking uses Slack Off with the use of Memory Berry, the attack would be read as "Remove all damage counters from Slaking. Slaking can't attack during your next turn."
Therefore, Slaking can't attack during next turn...