First pass at continuationclone.

Doesn't pass the test that depends on it yet, sadly.