You don't need to "play" with positionig. Just place the cloned element before the buttons block.
Here an example of your duplicate function
function duplicate() {
var clone = original.cloneNode(true);
var btns = document.querySelector('.buttons-room');
clone.id = "duplicetor" + ++i;
original.parentNode.insertBefore(clone, btns);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…