clone: fix -Wmaybe-uninitialized warning