Make copy actually copy (not just copy a reference)
Bugfixes in tables