[UE5.2.1, Bug report] Editor crashes on duplicating widget element on second inheritance level

Summary
If a widget has a second inheritance level, duplicating a widget element with Ctrl+D inside a NamedSlot (with an Overlay element added to have a potential slot), will crash the engine.

Steps to Reproduce
() is the parent class is adding something in the Designer >> Hierachy tab (outliner)

  1. create BaseWidget (UserWidget) [add NamedSlot named “N0”]
  2. create Child1 (BaseWidget) [add NamedSlot to N0 named “N1”]
  3. create Child2 (Child1) [add an Overlay to N1]
  4. [add a Button to the Overlay]
  5. Try duplicating the Button by pressing Ctrl + D

results
The editor crashes

expected
The Button gets duplicated

Comments
I suspect this is a problem with the way inheritance is implemented on widgets in general, so I will link my other bug reports with a similar issues here: