[client] Don't send or get duplicated fs objects.
[client] Fix bugs when cloning a large library.