You can clone with
Open any popup (for example, click on "Open Popup" in http://jquerymobile.com/test/docs/pages/popup/index.html page)
and then via Inspector you may see that opened popup contains data-container="[object Object]" markup...
Windows 7 SP1 x64 + Chrome 21.0.1180.89 m
Is there a use case this covers? We don't apply these options as data attributes anywhere but in button markup and I believe that was a special case.
That is, I think we can avoid doing this unless it fulfills some important purpose.
exclude internal attributes from dom element, temp fix Fixes #4967