debugsetparents should try to preserve tags