Fixed bug with cloning Uint8Array in IE and Firefox