simplify cloneWithProps util clone