Master-slave solution for sharing objects using SharedArrayBuffer fast and safely for OffscreenCanvas.