This is dangerous, because it modifies the node of a parent writer. My comment was about having a context at the bottom of the stack (with `srsName` and all the properties you set in `writeFeaturesNode` and `writeGeometryNode`) and use that in all the writers (symmetric to what we have in the readers).

But I understand that this is a more involved change and you need to move on, so if you do not have the time now to make that change, please just change this line to clone `context` again.