Don't clone db property.

See joomla/joomla-framework#137 and joomla/joomla-framework#139