let $block = $('.block:nth-of-type(2)');
let $clone = $('.block-wrap').clone().addClass("newClass");
$clone.appendTo('.wrapper');
//$clone.find($block).css('color', 'red');
let $block2 = $('.block-wrap.newClass div:last');
$block.css('color', 'green');
$block2.css('color', 'red');