Simplify duplicating a permissiontree