Adding generic clone function for config
Fix bug when initial zoom == minZoom || maxZoom. minZoom and maxZoom are values INCLUDED