How do you Take items out of units?

I've seen some streamer's do this, they'll have a unit with an item already on it, and build the item they need using the item on that unit but the completed item is dropped out of the unit instead of having to sell the unit.
Report as:
Offensive Spam Harassment Incorrect Board