Allow structured clone to be passed (using Kamino.js).