update tape
add clone as dependency
clone opts object
make test work without relying on side effects
fix type
add test for side effects