contract interface I = entrypoint init : () => void contract C = stateful entrypoint f(i : I) = let Some(c1) = Chain.clone(ref=i, protected = true) 2