Doubling for general sets