Remove (deprecated) Topography.clone() or undeprecate it
Text from Topography.clone()
in Topography.java
:
Creates a deep copy of the scenario.
@deprecated This manual implementation is error-prone. Remove this method
and use the standard clone instead.
added in year 2016. However, there are more recent changes in the method.
So either remove the deprecation and allow to use it or remove the method.
Another point is, that pedestrians and cars are added via reference (i.e. shallow copy) -- not sure what the wanted behaviour is here?