Clone the array manually when slice is missing
Merge branch 'master' of https://github.com/ofirdev/pdf.js