ドラッグ時にウィジェットをコピーしたい

I found a good idea. Gets a set of variables from an object and assigns them the original variables. It’s not very smart, though. But it works reliably.