clone/copy array keys by number bugfix