Coalgebras, clone theory, and modal logic