fix #30586, create segments on demand when cloning staves