AbstractEntity.getLocations: return immutable copy

- And adds EntityInternal.clearLocations