Added `ZeroClipboard.state()` for diagnostics.

Fixes #372.