You can clone with
HTTPS or Subversion.
See this gist for an example
If you touch a document's associations, those associations are saved when you save that document, even if you didn't update them. As far as I can tell, this is undocumented, and (at scale) it proves to be a bit of a performance issue.
Related to #218, #233, will be closed by #529 if we merge it.