import copy


def get_settings(settings_module):
    """
    Get a copy of the settings (upper-cased variables) declared in the given settings module.

    :param settings_module: A settings module
    :type settings_module: module
    :return: Dict of settings
    :rtype: dict[str, object]
    """
    return copy.deepcopy({k: v for (k, v) in vars(settings_module).items() if k.isupper()})