Added duplication recording (inspired by Lokad)
Updated documentation, dependencies