instance method SpahQL#clone
SpahQL#clone() → SpahQL
Produces a completely detached clone of this result set. This method does the equivalent of deep-cloning the original data used to create the SpahQL database (using SpahQL.db(data), for instance) and re-querying that clone for every result path found in this set.
The result is a complete clone which may have its own change listeners and which may be freely modified without disrupting the original.
If this set contains any literals (from a query such as “{1,2,3}”) these results are cloned as well.