Added cursor clone method and ability to take a cursor factory on pr cursor creation