added experimental deduplication support #47