Cleanup; Implement basic clone plugin (fixes #21)