Deprecate clone

This adds deprecation warnings (and tests for them) to the internal methods of AST nodes.  We can then remove them in v2.0.0