Fast python ipset clone using btrees