Is there a way to use draggable with clone?

Is there a way to use draggable with clone?

I am trying to use draggable with clone method.
something like this
  1. $( "#selector" ).draggable({ helper: "clone", revert: false });
Apparently, this is not working. The clone of the element is created and it can be dragged. But when I release the mouse, it reverts and joins back to the original element.
What is going wrong here?

I am trying to replicate the build pool thing in this website.