deep copy style in case computed style returns same object