Create better way to duplicate a layer using ogr in python?.md