I have some work being done on a WebWorker. When I post an object back to my GUI thread, the Javascript engine uses the structured cloning algorithm to clone the object with the GUI thread receiving a cloned object.
My question is, where is the cloning work being done, on the sender (WebWorker), receiver (GUI thread), both, or have I got completely the wrong end of the stick?