Clone of shape with Slice LPE doesn't reflect slice after editing slice

Steps to reproduce:

  • open Inkscape
  • create a rectangle
  • add a slice LPE
  • clone the object with the slice LPE
  • move the clone (optional, easier to notice problem)
  • edit the slice LPE

What happened?

  • clone reflects the rectangle before a slice happens
    • this does not match what is displayed in other svg renderers when you save the file.

What should have happened?

  • clone reflects the object after lpe is applied, not before.

lpeslice_clone.svg

Version info

  • Inkscape 1.2-dev (f2d16dde5e, 2021-12-14) Linux Mint 20
  • Before inkscape!3479 (merged), cloning just results in a crash