Implement cell::clone_ref

Per discussion with @alexcrichton, this is a free function.