If I were your high school coach and I saw you deliberately try to slide I would pull you off the court immediately and give you a quick talk along the lines of 'Don't ever do that again. You are endangering yourself, and if it catches on with the other guys you are endangering them as well.'
On a low traction surface like clay you can't make sharp cuts. You slide into your shot so you can change direction quicker afterwards. On a hardcourt this isn't an issue, and moreover, because there is a lot of traction if you try to slide and your shoe ends up gripping you can blow out your ankle or a knee.