etree Clone Node May 12, 2023 by Tarik You can just use copy.deepcopy() to make a copy of the element. (this will also work with lxml by the way).