Changed to .css('width') to detect widths instead of .width(). When using box-sizing:border-box; the incorrect width gets applied and the cloned version's width narrows.
Merge pull request #1 from sambrannon/master

Changed width detection method