Worked around it for now by changing all the stashes into branches before cloning:
git stash list | nl -ba | while read idx line; do
ref=${line%%:*} # “stash@{0}”, “stash@{1}”, etc.
git branch "old-stashes/${idx}" "$ref"
done
git stash clear
Originally posted by @Rhys-T in #652