Renamed boro_clone() to clone_node() and made it static.

It also ref/unrefs the node to be cloned.