Creates new empty LineNode with the same style.
LineNode clone() { final node = LineNode(); node.applyStyle(style); return node; }