If a dragon shapechanged into a wizard cast clone…

In Curse Of Strahd, when players take on new flaws in Amber Temple…

How does this work if a player loots the Drow sword?