Okay Well, if there was an API that cut through the parent node as well I could use it. I ended up writing hackier version of it. Possibly I could achieve the same result be appending a new parent node, using normal cut, and then returning its content but oh well.