- fixed check for empty destination in cloneImage function