Tidy up of StaticPointIndexes and DynamicPointIndexes
Performs a deep copy of PointIndexes when constructing DynamicallyAllocatedDatabase to ensure that PointIndexes do not change or go out of scope once initialised.